package com.wzq.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="wzq-code-server")
public interface CodeServiceFeignClient {

    @RequestMapping("/code/validate/{email}/{code}")
     Integer  validate(@PathVariable(value = "email") String email, @PathVariable(value = "code") String code);

}
